<?php 
include "../../config/ini.php";
include INCLUDES."head.php";
?>
<link rel="stylesheet" href="<?=SITE?>files/css/config.css" type="text/css" media="screen"/>
<script type="text/javascript" src="<?=SITE?>files/js/config_user.js"></script>
</head>
<body>
<div class="box_modal" id="overlay"></div>

<?include INCLUDES."header.php";?>
<div id="wrapper">
	<div id="toolsbar">
		<div class="tools_left">
			<div class="add">
				<span><h3>Dados Pessoais</h3></span>
			</div>
		</div>
	</div>
	<div id="content">
		<div class="spacer">
			<div id="box_content">
				<ul class="submenu">
					<?
					if(isset($_SESSION["PROJECT"])){
					?>
					<li><a href="index.php">Estados de Tarefas</a></li>
					<?
					}	
					?>
					<li class="selected"><a href="register.php">Dados Pessoais</a></li>
				</ul>
				<div class="register">
				<form method="get" id="formUser" class="forms">
					<input type="hidden" name="id" value="<?=$_SESSION["USER"]->id?>">
					<fieldset>
						<label for="name" class="left">
							<span>Nome:</span>
							<input name="name" type="text" value="<?=$_SESSION["USER"]->name?>" title="Preencha o nome do usuário." class="{required:true}"/>
						</label>
						<label for="email">
							<span>Email:</span>
							<input name="email" type="text" value="<?=$_SESSION["USER"]->email?>" title="Preencha o email do usuário." class="{required:true}"/>
						</label>
						<label for="login" class="left">
							<span>Login:</span>
							<input name="login" id="login" type="text" value="<?=$_SESSION["USER"]->login?>" title="Preencha o login do usuário." class="{required:true}"/>
						</label>						
						<label for="dateCreation">
							<span>Data de Entrada:</span>
							<input type="text" name="dateCreation" id="dateCreation" value="<?=$_SESSION["USER"]->dateCreation?>" readonly="readonly"/>
						</label>
						<label for="password" class="left">
							<span>Senha:</span>
							<input type="password" name="password" id="password" title="Preencha o campo senha." class=""/>
						</label>
						<label for="repeatPassword">
							<span>Repetir Senha:</span>
							<input type="password" name="repeatPassword" id="repeatPassword" title="Preencha o campo repetir senha." class=""/>
						</label>
					</fieldset>
					<div class="container_left"><div class="button_inner box_circle"><button type="submit">Salvar</button></div></div>
				</form>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>
